package com.basic.common.utils.uuid;

import com.github.f4b6a3.ulid.Ulid;
import com.github.f4b6a3.ulid.UlidCreator;

/**
 * ULID 生成类
 * @author zhaoxy_jn@163.com
 */
public class ULID {

    /**
     * 生成ULID
     */
    public static String getId(){
        Ulid ulid = UlidCreator.getUlid();
        return ulid.toString();
    }

}
